﻿<UserControl x:Class="DatePickerDemo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" 
    >
    
    <Grid x:Name="LayoutRoot" Height="300" Width="450" VerticalAlignment="Center" HorizontalAlignment="Center" >
    	<Grid.Background>
    		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    			<GradientStop Color="#FF14537E" Offset="0"/>
    			<GradientStop Color="#FFA6C9E0" Offset="1"/>
    		</LinearGradientBrush>
    	</Grid.Background>
    	<Grid.RowDefinitions>
    		<RowDefinition/>
			<RowDefinition/>
    		<RowDefinition/>
    		<RowDefinition/>
    		<RowDefinition/>
    	</Grid.RowDefinitions>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="3*"/>
    		<ColumnDefinition Width="4*"/>
    		<ColumnDefinition Width="3*"/>
    	</Grid.ColumnDefinitions>
        <controls:DatePicker x:Name="fechaSalida" 
                             VerticalAlignment="Center" 
                             Grid.Row="1" 
                             SelectionBackground="#FF09B51C" 
                             Grid.Column="1" 
                             d:LayoutOverrides="Width" 
                             HorizontalAlignment="Center"/>
        <controls:DatePicker x:Name="fechaRegreso" 
                             d:LayoutOverrides="Width" 
                             Grid.Row="2" 
                             VerticalAlignment="Center" 
                             SelectionBackground="#FFE40909" 
                             Grid.Column="1" 
                             HorizontalAlignment="Center"/>
        <TextBlock x:Name="textFechaSalida" 
                   HorizontalAlignment="Center" 
                   Grid.Row="1" 
                   VerticalAlignment="Center" 
                   Text="Fecha de Salida:" 
                   TextWrapping="Wrap" 
                   Foreground="White"/>
        <TextBlock x:Name="textFechaRegreso" 
                   VerticalAlignment="Center" 
                   Foreground="White" 
                   Text="Fecha de Salida:" 
                   TextWrapping="Wrap" 
                   Grid.Row="2" 
                   d:LayoutOverrides="Width" 
                   HorizontalAlignment="Center"/>
        <Button x:Name="botonReservar" 
                HorizontalAlignment="Center" 
                VerticalAlignment="Center"
                Width="75" Content="Reservar" 
                Grid.Row="3" 
                Grid.ColumnSpan="3"/>
        <TextBlock x:Name="textoErrorSalida"
                   HorizontalAlignment="Center" 
                   VerticalAlignment="Center" 
                   TextWrapping="Wrap" 
                   Grid.Row="1" 
                   Grid.Column="2" 
                   Foreground="Red"/>
        <TextBlock x:Name="textoErrorRegreso" 
                   HorizontalAlignment="Center" 
                   VerticalAlignment="Center" 
                   Grid.Column="2" 
                   Foreground="Red" 
                   TextWrapping="Wrap" 
                   Grid.Row="2"/>
        <TextBlock x:Name="textoConfirmacion" 
                   HorizontalAlignment="Center" 
                   VerticalAlignment="Center" 
                   TextWrapping="Wrap" 
                   Grid.Row="4"
                   Grid.ColumnSpan="3" 
                   Foreground="Black" 
                   TextAlignment="Center"/>
        <TextBlock x:Name="textoTitulo_Copy"
                   FontSize="18.667" 
                   Foreground="#FF4B4545" 
                   Text="Aerolineas Silverliga" 
                   TextWrapping="Wrap" 
                   Margin="-3,18,-20,15" 
                   Grid.Column="1" 
                   d:LayoutOverrides="Height"/>
        <TextBlock x:Name="textoTitulo" 
                   HorizontalAlignment="Center"
                   VerticalAlignment="Center" 
                   Text="Aerolineas Silverliga" 
                   TextWrapping="Wrap" 
                   Grid.ColumnSpan="3" 
                   Foreground="White" 
                   FontSize="18.667"/>

    </Grid>
</UserControl>
